<?php
    $msg = array();
    $sql = "SELECT td_th FROM text_data WHERE td_id=12 OR td_id=13 ORDER BY td_id";
    $result = $db->Execute($sql);
    $i = 0;
    while (!$result->EOF)
    {
        $msg[$i]['th'] = nl2br($result->fields['td_th']);
        $i++;
        $result->MoveNext();
    }
    $result->Close();
?>
	    <div id="footer" class="text_green">
		<p id="footer_company_name">
		    <?php echo $msg[0]['th']; ?>
		</p>
		
		<p id="footer_copy">
		    Copyright &copy; 2010 UBPack.com All rights reserved
		</p>
		<p id="footer_address">
		    <?php echo $msg[1]['th']; ?>
		</p>
		<div class="clear">&nbsp;</div>
	    </div>
        </div>
    </body>
</html>
<script type="text/javascript">
    $('.aColorBox').colorbox();
</script>
